package com.pro.dl.pojo;

import com.pro.dl.pojo.profile.PersonType;

public class Person {

	private long id;

	private String userName;

	private String password;

	private String name;

	private boolean verified;

	private boolean blocked;

	private String secreteQuestion;

	private String secretQuestionAnswer;
	
	private String token;
	
	private PersonType personType;
	
	private float score;
	
	public Person() {

	}

	public Person(String userName) {
		this.userName = userName;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isVerified() {
		return verified;
	}

	public void setVerified(boolean verified) {
		this.verified = verified;
	}

	public boolean isBlocked() {
		return blocked;
	}

	public void setBlocked(boolean blocked) {
		this.blocked = blocked;
	}

	public String getSecreteQuestion() {
		return secreteQuestion;
	}

	public void setSecreteQuestion(String secreteQuestion) {
		this.secreteQuestion = secreteQuestion;
	}

	public String getSecretQuestionAnswer() {
		return secretQuestionAnswer;
	}

	public void setSecretQuestionAnswer(String secretQuestionAnswer) {
		this.secretQuestionAnswer = secretQuestionAnswer;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public PersonType getPersonType() {
		return personType;
	}

	public void setPersonType(PersonType personType) {
		this.personType = personType;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	@Override
	public String toString() {
		return "Person [id=" + id + ", userName=" + userName + ", password=" + password + ", name=" + name + ", verified=" + verified + ", blocked=" + blocked
				+ ", secreteQuestion=" + secreteQuestion + ", secretQuestionAnswer=" + secretQuestionAnswer + ", token=" + token + ", personType=" + personType + ", score="
				+ score + "]";
	}

	

}
